SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 61540: Publishing or testing a model gives "ERROR ... DeploymentServiceImpl error deploying decision ..."

DetailsHotfixAboutRate It

In SAS® Decision Manager, the following error message might be displayed in the log when publishing or testing the model:

ERROR 2017-06-20 23:48:38,969 DeploymentServiceImpl error deploying decision
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
   at java.lang.String.substring(String.java:1871)
   at
com.sas.decisionbuilder.execution.codegen.data.ModelComponent.fetchCode(ModelCom
ponent.java:119)

 

The error is displayed when all of these conditions are true:

  • You are publishing or republishing to either SAS® Micro Analytic Service or Metadata folders.
  • The model contains invalid content.
  • The model score code contains custom model-code, or a ds2_options statement in a model is missing.

Click the Hot Fix tab in this note to access the hot fix for this issue.

Applying the hot fix enables you to provide custom model-code with mixed casing on the method, package, and ds2_options keywords. 



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Decision ManagerMicrosoft® Windows® for x643.23.39.4 TS1M49.4 TS1M6
Microsoft Windows 8 Enterprise 32-bit3.23.39.4 TS1M49.4 TS1M6
Microsoft Windows 8 Enterprise x643.23.39.4 TS1M49.4 TS1M6
Microsoft Windows 8 Pro 32-bit3.23.39.4 TS1M49.4 TS1M6
Microsoft Windows 8 Pro x643.23.39.4 TS1M49.4 TS1M6
Microsoft Windows 8.1 Enterprise 32-bit3.23.39.4 TS1M49.4 TS1M6
Microsoft Windows 8.1 Enterprise x643.23.39.4 TS1M49.4 TS1M6
Microsoft Windows 8.1 Pro 32-bit3.23.39.4 TS1M49.4 TS1M6
Microsoft Windows 8.1 Pro x643.23.39.4 TS1M49.4 TS1M6
Microsoft Windows 103.23.39.4 TS1M49.4 TS1M6
Microsoft Windows Server 20083.29.4 TS1M4
Microsoft Windows Server 2008 R23.29.4 TS1M4
Microsoft Windows Server 2008 for x643.29.4 TS1M4
Microsoft Windows Server 2012 Datacenter3.23.39.4 TS1M49.4 TS1M6
Microsoft Windows Server 2012 R2 Datacenter3.23.39.4 TS1M49.4 TS1M6
Microsoft Windows Server 2012 R2 Std3.23.39.4 TS1M49.4 TS1M6
Microsoft Windows Server 2012 Std3.23.39.4 TS1M49.4 TS1M6
Windows 7 Enterprise 32 bit3.23.39.4 TS1M49.4 TS1M6
Windows 7 Enterprise x643.23.39.4 TS1M49.4 TS1M6
Windows 7 Home Premium 32 bit3.23.39.4 TS1M49.4 TS1M6
Windows 7 Home Premium x643.23.39.4 TS1M49.4 TS1M6
Windows 7 Professional 32 bit3.23.39.4 TS1M49.4 TS1M6
Windows 7 Professional x643.23.39.4 TS1M49.4 TS1M6
Windows 7 Ultimate 32 bit3.23.39.4 TS1M49.4 TS1M6
Windows 7 Ultimate x643.23.39.4 TS1M49.4 TS1M6
64-bit Enabled AIX3.23.39.4 TS1M49.4 TS1M6
64-bit Enabled Solaris3.23.39.4 TS1M49.4 TS1M6
HP-UX IPF3.23.39.4 TS1M49.4 TS1M6
Linux for x643.23.39.4 TS1M49.4 TS1M6
Solaris for x643.23.39.4 TS1M49.4 TS1M6
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.